/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

export class Kind {
	public static readonly alias = '别名';
	public static readonly callSignature = '调用';
	public static readonly class = '类别';
	public static readonly const = '常量';
	public static readonly constructorImplementation = '构造';
	public static readonly constructSignature = '构建';
	public static readonly directory = '目录';
	public static readonly enum = '枚举';
	public static readonly externalModuleName = '外部模块名';
	public static readonly function = '函数';
	public static readonly indexSignature = '索引';
	public static readonly interface = '接口';
	public static readonly keyword = '关键字';
	public static readonly let = '变量';
	public static readonly localFunction = '本地函数';
	public static readonly localVariable = '本地定义';
	public static readonly memberFunction = '方法';
	public static readonly memberGetAccessor = '获取';
	public static readonly memberSetAccessor = '设置';
	public static readonly memberVariable = '属性';
	public static readonly module = '模块';
	public static readonly primitiveType = '原始类型';
	public static readonly script = '脚本';
	public static readonly type = '类型';
	public static readonly variable = '定义';
	public static readonly warning = '警告';
	public static readonly string = '文字';
	public static readonly parameter = '参数';
}


export class DiagnosticCategory {
	public static readonly error = '错误';
	public static readonly warning = '警告';
	public static readonly suggestion = '建议';
}

export class KindModifiers {
	public static readonly optional = '可选';
	public static readonly color = '颜色';

	public static readonly dctsFile = '.d.cts';
	public static readonly dtsFile = '.d.ts';
	public static readonly ctsFile = '.cts';
	public static readonly tsFile = '.ts';
	public static readonly ctsxFile = '.ctsx';
	public static readonly tsxFile = '.tsx';
	public static readonly jsFile = '.js';
	public static readonly jsxFile = '.jsx';
	public static readonly jsonFile = '.json';

	public static readonly fileExtensionKindModifiers = [
		KindModifiers.dctsFile,
		KindModifiers.dtsFile,
		KindModifiers.ctsFile,
		KindModifiers.tsFile,
		KindModifiers.tsxFile,
		KindModifiers.ctsxFile,
		KindModifiers.jsFile,
		KindModifiers.jsxFile,
		KindModifiers.jsonFile,
	];
}

export class DisplayPartKind {
	public static readonly functionName = '函数名';
	public static readonly methodName = '方法名';
	public static readonly parameterName = '参数名';
	public static readonly propertyName = '属性名';
	public static readonly punctuation = '标点';
	public static readonly text = '文本';
}